//
//  UIBarButtonItem+Extension.h
//  DSJY
//
//  Created by 冯华强 on 15/9/8.
//  Copyright (c) 2015年 HQ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (Extension)

+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image title:(NSString *)title;

+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image title:(NSString *)title titleColor:(UIColor *)titleColor;

+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image title:(NSString *)title selectImage:(NSString *)selectImage selectTitle:(NSString *)selectTitle titleColor:(UIColor *)titleColor;

+ (UIBarButtonItem *)itemMapWithTarget:(id)target action:(SEL)action image:(NSString *)image selectImage:(NSString *)selectImage;

//空白间隙的Item
+ (UIBarButtonItem *)itemNegativeSpacer;

//创建按钮
+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action title:(NSString *)title titleColor:(UIColor *)titleColor font:(UIFont *)font;

@end
